package algUtils;

public class StopWatch {
    private final long startTime;
    public StopWatch(){
        startTime=System.currentTimeMillis();
    }
    public double costTime(){
        long endTime=System.currentTimeMillis();
        return (endTime-startTime)/1000.0;
    }
}
